//
//  BaseTableViewController.swift
//  CXSwiftWB
//
//  Created by CaoXuan on 2017/5/14.
//  Copyright © 2017年 meidaer. All rights reserved.
//

import UIKit

class BaseTableViewController: UITableViewController {
    
    var isLogin = false
    
    var visitorView: VisitorView?
    
    override func loadView() {
        isLogin ? super.loadView() : setupVisitorView()
    }
    
    private func setupVisitorView()
    {
        visitorView = VisitorView.vistorView()
        view = visitorView
    }
}
